package com.gjy.pd.factorymethod;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2022-12-15 09:52:21
 */
public class MethodFactoryTest {

    public static void main(String[] args) {

        MethodFactory methodFactory = new PaFactory();
        Product product = methodFactory.getProduct();

        System.out.println(product.getInfo());
    }
}
